package com.meizu.hjcool7.androidchecklist;

import com.meizu.hjcool7.androidchecklist.database.DBOpenHelper;
import com.meizu.hjcool7.androidorm.SqliteDB;

import android.app.Application;

public class ChecklistAppliction extends Application
{
	private static ChecklistAppliction sAppliction;
	
    public void onCreate()
    {
    	ChecklistAppliction.sAppliction = this;
    	DBOpenHelper.createInstance(this);
    	SqliteDB db = DBOpenHelper.getInstance().getWritableDB();
    	System.out.println(db);
    }
    
    public static ChecklistAppliction getAppliction()
    {
    	return sAppliction;
    }
}
